import {ModelCrudRestApiConfig} from '@loopback/rest-crud';
import {<%= modelName %>} from '../models';

const config: ModelCrudRestApiConfig = {
  model: <%= modelName %>,
  pattern: 'CrudRest',
  dataSource: '<%= dataSourceName %>',
  basePath: '<%= basePath %>',
  readonly: <%= readonly %>,
};
module.exports = config;
